// USER.h: define method for the Lua Script.
//
//////////////////////////////////////////////////////////////////////

#ifndef LUA_SCRIPT_H
#define LUA_SCRIPT_H


class USER;

extern "C" 
{
	#include "..\\Lua5\\Include\\lua.h"
	#include "..\\Lua5\\Include\\lualib.h"
	#include "..\\Lua5\\Include\\lauxlib.h"
}


lua_State*		OpenLua();
void			CloseLua(lua_State* l);

void SetUser(lua_State *l, USER* p);
USER* GetUser(lua_State *l);

#endif // #defined LUA_SCRIPT_H
